package com.bw.service;

import com.bw.bean.City;
import com.bw.bean.Houses_trading;
import com.bw.bean.Region;
import com.bw.bean.Trading;

import java.util.List;
import java.util.Map;

public interface RegionService {
    //列表模糊分页
    public List<Region> list(Region region);
    //回显
    public Region getById(int rid);
    //新增-修改
    public void save(Region region, String tids);
    //批量新增中间表
    void insertbth(List<Houses_trading> list);
    //修改时，根据rid删除中间表
    public void deleteByRid(int rid);
    //省市县三级联动查询-->
    List<City> getByPid(int pid);
    //第4级联动，根据县id，查询复选框
    List<Trading> getTradings(int xid);

}
